package org.ruanjj.designmodel.decoratormodel;

//珍珠啵啵奶茶
public class Pearl extends AuxiliaryMaterials{
    public Pearl(BoboTea boboTea) {
        super(boboTea);
    }

    @Override
    public String getName() {
        return "珍珠" + boboTea.getName();
    }

    @Override
    public Double getPrice() {
        return boboTea.getPrice()+2.0;
    }
}
